using System.Net;
using System;
namespace WP7Contrib.Communications
{
    public class RestAsyncResponse<T>
    {
        public RestAsyncResponse(HttpStatusCode statusCode, Exception error, T result)
        {
            StatusCode = statusCode;
            Error = error;
            Result = result;
        }

        public HttpStatusCode StatusCode { get; private set; }
        public Exception Error { get; private set; }
        public T Result { get; private set; }
    }
}
